<?php

class FaqForm extends CFormModel {

	public $faqContent;
	public $faqTitle;
	public $faqUserName;
	public $faqUserEmail;	

	/**
	 * Declares the validation rules.
	 * The rules state that username and userPhone are required,
	 * and password needs to be authenticated.
	 */
	public function rules() {
		return array(
			array('faqUserEmail, faqUserName, faqContent', 'required'),			
		);
	}

	/**
	 * Declares attribute labels.
	 */
	public function attributeLabels() {
		return array(
			'courier' => 'Нужен бесплатный курьер',
		);
	}

}
